package com.sh.data.engine.domain.dataasset.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sh.data.engine.domain.dataasset.model.domain.TableProductDomain;
import com.sh.data.engine.repository.dao.dataasset.entity.TableProductEntity;

import java.util.List;

public interface TableProductService extends IService<TableProductEntity> {

    List<TableProductDomain> getTableProductDomain(Long tblId, Long projectId);

    IPage<TableProductDomain> getTableProductDomain(Long tblId, Long projectId, Integer pageNum,
                                                    Integer pageSize);

    void insetTableProduct(List<TableProductEntity> tableProductEntity);
}
